﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;
using System.Collections;

namespace BUS
{
    public class DatHangBUS
    {
        private DatHangDTO info = new DatHangDTO();
        private DatHangDAO data = new DatHangDAO();

        public void ThemDonDatHang(DatHangDTO dhDTO)
        {
            data.ThemDonDatHang(dhDTO);
        }

        public int GetDonHangID(string MaDH)
        {
            return data.GetDonHangID(MaDH);
        }

        public ArrayList GetDSDonDatHang()
        {
            return data.GetDSDonDatHang();
        }
    }
}
